package com.zhny.aiot.hk.ysy.video.plugin;

import com.zhny.aiot.plugin.Field;
import com.zhny.aiot.plugin.core.plugin.AbstractConfig;

public class VideoConfig extends AbstractConfig {
    @Field(alias = "app关键码",description="登录萤石云平台获得")
    private String appKey;

    @Field(alias = "app密钥",description = "登录萤石云平台获得")
    private String appSecret;
    @Field(alias = "监控地址",description = "登录萤石云平台获得")
    private String monitorAddress;

    @Field(alias = "本地地址",description = "")
    private String localAddress;
    @Override
    public String toKey() {
        return super.toKey (this.appKey,this.appSecret,this.monitorAddress);
    }

    public void setAppKey(String appKey) {
        this.appKey=appKey;
    }
    public String getAppKey() {
        return this.appKey;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret=appSecret;
    }

    public String getAppSecret() {
        return this.appSecret;
    }

    public void setMonitorAddress(String monitorAddress) {
        this.monitorAddress=monitorAddress;
    }
    public String getMonitorAddress() {
        return this.monitorAddress;
    }

    public String getLocalAddress() {
        return localAddress;
    }

    public void setLocalAddress(String localAddress) {
        this.localAddress=localAddress;
    }
}
